import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false

// 网络请求
import WXrequest from './utils/http/request.js'
Vue.prototype.$http = WXrequest

// 正则
import regularUtil from './utils/regularUtils.js'
Vue.prototype.regularUtil = regularUtil

// nav
import uniNavBar from "@/components/uni-nav-bar/uni-nav-bar.vue"
Vue.prototype.uniNavBar = uniNavBar

// 同步存储
import storage from "@/utils/storage.js"
Vue.prototype.storage = storage

// 常用
import utils from "@/utils/utils.js"
Vue.prototype.comUtils = utils

//uview main.js
import uView from "uview-ui";
Vue.use(uView);

import store from '@/store'
Vue.prototype.$store = store

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
